import Taro, { Component } from '@tarojs/taro'
import { View, Button, Text } from '@tarojs/components'


import './index.scss'



class AnswerDetail extends Component {

  config = {
    navigationBarTitleText: '装修问答',
  }


  render() {
    return (
      <View className='answer-detail'>
        <View className="download">下载“欢乐家”APP去提问</View>
        <View className="top-wrapper">
          <Image className="img-wh" src={require('../../asset/imgs/wt.png')} />
          <View className="a-rigth">
            <View className="a-title">
              标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题
            </View>
            <View className="a-content">问答详情问答详情问答详情问答详情问答详情问答详情问答详情问答详情问答详情问答详情问答详情问答详情问答详情问答详情问答详情……</View>
            <View className="a-sub">
              <View className="a-time">
                <Text className="a-time-rq">2018.01.01</Text>
                <Text>12:00</Text>
              </View>
              <View className="a-hd-wrap">
                <View className="a-hd">10个回答</View>
                <View className="a-sr">已解决<Image className="img" src={require('../../asset/imgs/sr.png')} /></View>
              </View>
            </View>
          </View>
        </View>
        <View className="answer-content">
          <View className="answer-title">
            回复内容：
          </View>
          <View className="nr-list">
            <View className="nr-item">正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文。</View>
            <View className="nr-item">正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文正文。</View>
          </View>
          <View className="write-btn">
            <Image className="img" src={require('../../asset/imgs/sr2.png')} />
            写回答
          </View>
        </View>

      </View>
    )
  }
}

export default AnswerDetail
